package java69.work720;

public class SE extends Employee2 {
    protected String hobby;
    protected String level;

    public SE() {
    }

    public SE(String name, String adress, String telphone, String email, String office, double salary, String hiredate, String hobby, String level) {
        super(name, adress, telphone, email, office, salary, hiredate);
        this.hobby = hobby;
        this.level = level;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public void show(){
        super.setName("小王");
        super.setAdress("合肥");
        super.setTelphone("11111111111");
        super.setEmail("1281849374@qq.com");
        super.setOffice("科海");
        super.setHiredate("2020.07.20");
        super.setSalary(7532);
        setHobby("打游戏");
        setLevel("高级");
        System.out.println("我是"+super.getName()+",住在"+super.getAdress()+",手机号是"+super.getTelphone()
                +"，电子邮件是"+super.getEmail()+",办公室在"+getAdress()+"，工资是"+super.getSalary()
                +",爱好是"+getHobby()+",级别为"+getLevel()+",受雇于"+super.getHiredate());
    }

    public static void main(String[] args) {
        SE se = new SE();
        se.show();
    }
}
